home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Made with REALbasic™ / Database / REALmaker 1.0 b6 PPC / Plugins / Boolean Plugin 1.1 / Boolean Plugin Doc next >
Encoding:
Text File  |  2000-08-10  |  1.2 KB  |  45 lines

  1. Boolean Plugin 1.1
  2. Author: Francis Lessard
  3. Mac-X- Software
  4. http://www.mac-x-software.com
  5.  
  6. Boolean Plugin is a Plugin for REALbasic give you more functionality with Boolean Properties.
  7.  
  8. --------------------------------------------------------------------
  9. Bstr(Value as Boolean) as String
  10. This fonction use to get a string of booelan.
  11. Return "true" or "false"
  12. --------------------------------------------------------------------
  13. BstrNum(Value as Boolean) as String
  14. This fonction use to get a string of booelan.
  15. Return "1" for true
  16. Return "0" for false
  17. --------------------------------------------------------------------
  18. strB(Value as string) as Boolean
  19. This fonction use to get a boolean from string.
  20.  
  21. ex: 
  22. Dim e as boolean
  23.     e = strB("1")
  24.     e = strB("0")
  25.     e = strB("true")
  26.     e = strB("false")
  27. --------------------------------------------------------------------
  28. intB(Value as integer) as Boolean
  29. This fonction use to get a boolean from integer.
  30.  
  31. ex: 
  32. Dim e as boolean
  33.     e = strB(1)
  34.     e = strB(0)
  35. --------------------------------------------------------------------
  36. Bint(Value as Boolean) as integer
  37. This fonction use to get a integer from boolean.
  38.  
  39. ex: 
  40. Dim e as integer
  41.     e = strB(true)
  42.     e = strB(false)
  43.  
  44.  
  45.